<%-- 
    Document   : rVerDispositivo
    Created on : 6/09/2013, 02:06:53 AM
    Author     : Andres
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@taglib uri="/struts-tags" prefix="s"%>
<h3>Dispositivo</h3>
<table border="0" width="60%" cellpadding="0" cellspacing="0" id="product-table" name="tablaDisp">
        <tr>
                <th class="table-header-repeat line-left minwidth-1"><a>ID</a></th>
                <th class="table-header-repeat line-left minwidth-1"><a>Marca</a></th>
                <th class="table-header-repeat line-left minwidth-1"><a>Modelo</a></th>
                <th class="table-header-repeat line-left minwidth-1"><a>Tipo</a></th>
                <th class="table-header-repeat line-left minwidth-1"><a>No.Serie</a></th>
                <th class="table-header-repeat line-left minwidth-1"><a>Departamento</a></th>
                <th class="table-header-repeat line-left minwidth-1"><a>Localización</a></th>
        </tr> 
        <tr>
            <td><s:property value='dd.idDisp'/></td>
            <td><s:property value="dd.marca"/></td>
            <td><s:property value="dd.modelo"/></td>
            <td><s:property value="dd.tipo"/></td>
            <td><s:property value="dd.noserie"/></td>
            <td><s:property value="dd.departamento"/></td>
            <td><s:property value="dd.localizacion"/></td>
        </tr> 
        <tr>
            <td colspan="7"><input type="button" class="btn" value="Regresar" id="btnRegresar"></td>
        </tr>    
 </table>
<h3>Componentes</h3>
<table border="0" width="60%" cellpadding="0" cellspacing="0" id="product-table" name="tablaComp">
        <tr>
                <th class="table-header-repeat line-left minwidth-1"><a>Tipo</a></th>
                <th class="table-header-repeat line-left minwidth-1"><a>Caracteristicas</a></th>
        </tr>
    <s:iterator value="listaComponentes" status="estatus">    
        <tr>
            <td><s:property value="IdTipo.Tipo"/></td>
            <td><s:property value="Caracteristicas"/></td>
        </tr>
    </s:iterator>   
 </table>
<h3>Encargado</h3>
<table border="0" width="60%" cellpadding="0" cellspacing="0" id="product-table" name="tablaEmp">
        <tr>
                <th class="table-header-repeat line-left minwidth-1"><a>ID</a></th>
                <th class="table-header-repeat line-left minwidth-1"><a>Nombre</a></th>
                <th class="table-header-repeat line-left minwidth-1"><a>Puesto</a></th>
                <th class="table-header-repeat line-left minwidth-1"><a>Departamento</a></th>
        </tr>
        <s:iterator value="listaEncargados" status="estatus">
        <tr>
            <td><s:property value="IdEmpleado"/></td>
            <td><s:property value="Nombre"/></td>
            <td><s:property value="Puesto"/></td>
            <td><s:property value="Departamento.nombre"/></td>    
        </tr>    
        </s:iterator>
</table>
<h3>Software</h3>
<table border="0" width="60%" cellpadding="0" cellspacing="0" id="product-table" name="tablaSoft">
        <tr>
                <th class="table-header-repeat line-left minwidth-1"><a>Software</a></th>
                <th class="table-header-repeat line-left minwidth-1"><a>Descripcion</a></th>
        </tr>
        <s:iterator value="listaSoft" status="estatus">
        <tr>
            <td><s:property value="Soft"/></td>
            <td><s:property value="Descripcion"/></td> 
        </tr>    
        </s:iterator>
</table>